<%-- 
    Document   : ingresoAlumnos
    Created on : Feb 2, 2013, 9:39:46 AM
    Author     : xtecuan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Ingreso de alumnos</title>
        <link href="${pageContext.request.servletContext.contextPath}/css/estilos_ugb.css" rel="stylesheet" media="screen" type="text/css"/>
    </head>
    <body>
        <h1>Ingreso de alumnos</h1>
        <form action="ingresar" method="POST">
            <p>
                Carnet: <input type="text" name="carnet" value="" size="50" />
            </p>
            <p>Nombres: <input type="text" name="nombres" value="" size="50" /></p>
            <p>Apellidos: <input type="text" name="apellidos" value="" size="50" /></p>
            <p>Correo <input type="text" name="correo" value="" size="50" /></p>
            <p>Fecha de Nac: <input type="text" name="fechaNac" value="" size="50" /></p>
            
            <input type="submit" value="Guardar" />
            <input type="reset" value="Limpiar" />
        </form>
        
        <script>
            <% 
                if(session.getAttribute("ingresar") != null){
                   out.println("alert(\""+ session.getAttribute("ingresar") +" \")");
                   session.removeAttribute("ingresar");
                }
                    
            %>
        </script>
    </body>
</html>
